package com.devinlee.designpatterns.proxy.dynamicproxy;

/**
 * 动态代理-拦截器实现
 */
public class MyInterceptor implements Interceptor{

    @Override
    public void before(){
        System.out.println("执行前...");
    }

    @Override
    public void after(){
        System.out.println("执行后...");
    }
}
